/****************************************************************************************
**  File: Line2.hpp
**  Author: Asteroth
**  Date: 8-mag-2009
****************************************************************************************/

#ifndef __LINE2_HPP__
#define __LINE2_HPP__

template <typename T>
class Line2x {
public:
	Vector2x<T> P, D;

	Line2x():															P(0, 0), D(0, 0) {}
	Line2x(const Line2x<T> &line):										P(line.P), D(line.D) {}
	Line2x(const Vector2x<T> &point, const Vector2x<T> &direction):		P(point), D(direction) {}

};

typedef Line2x<float> Line2;

#endif
